package com.ruoyi.cat.domain;

import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章礼品清单对象 cat_articlegift_table
 * 
 * @author ruoyi
 * @date 2024-12-27
 */
public class CatArticlegiftTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 文章表外键 */
    @Excel(name = "文章表外键")
    private Long articleId;

    /** 礼品图片 */
    @Excel(name = "礼品图片")
    @QiniuPrivateUrl(isRichText = false)
    private String giftImg;

    /** 礼品标题 */
    @Excel(name = "礼品标题")
    private String giftTitle;

    /** 获取要求 */
    @Excel(name = "获取要求")
    private String giftRequire;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setGiftImg(String giftImg) 
    {
        this.giftImg = giftImg;
    }

    public String getGiftImg() 
    {
        return giftImg;
    }
    public void setGiftTitle(String giftTitle) 
    {
        this.giftTitle = giftTitle;
    }

    public String getGiftTitle() 
    {
        return giftTitle;
    }
    public void setGiftRequire(String giftRequire) 
    {
        this.giftRequire = giftRequire;
    }

    public String getGiftRequire() 
    {
        return giftRequire;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("giftImg", getGiftImg())
            .append("giftTitle", getGiftTitle())
            .append("giftRequire", getGiftRequire())
            .toString();
    }
}
